function checkTime(key) {
  console.log(arguments)
}
export default function generatePortalRules () {
  const rules = {
    startTime: [
      { required: true, validator: checkTime.call(this),  trigger: ['change', 'blur']}
    ],
    endTime: [
      { required: true, validator: checkTime.call(this),  trigger: ['change', 'blur']}
    ]
  }

  return rules
}